package com.zy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LittleDesire
 * @description
 * @date 2022-04-07 周四 17:07
 * @since 17
 */
@RestController
@RequestMapping("/admin")
public class IndexController {
    @RequestMapping("/login")
    public String login() {
        return "login success";
    }
    @RequestMapping("/check")
    public String check() {
        return "lcheck";
    }
    @RequestMapping("/add")
    public String add() {
        return "add";
    }
    @RequestMapping("/del")
    public String del() {
        return "del";
    }

}
